/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.store.dto;

import java.util.Date;

import com.javaeye.common.dto.DTO;

public class MaterialsChangeDetail implements DTO {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2844773041688424970L;
	
	/**
	 * 订单成品入库
	 */
	public static final int PLAN_INSTORE = 1;
	
	/**
	 * 订单成品出库
	 */
	public static final int PRODUCT_OUTSTORE = 2;
	
	/**
	 * 采购收货合格入库
	 */
	public static final int PROCUREMENT_QUALIFIED_INSTORE = 3;
	
	/**
	 * 采购收货不合格入库
	 */
	public static final int PROCUREMENT_UNQUALIFIED_INSTORE = 4;
	
	/**
	 * 车间领用出库
	 */
	public static final int MATERIALS_OUTSTORE = 5;
	
	/**
	 * 车间合格退货入库
	 */
	public static final int MATERIALS_QUALIFIED_INSTORE = 6;
	
	/**
	 * 车间不合格退货入库
	 */
	public static final int MATERIALS_UNQUALIFIED_INSTORE = 7;
	
	/**
	 * 采购不合格品退货出库
	 */
	public static final int PROCUREMENT_UNQUALIFIED_OUTSTORE = 8;
	
	/**
	 * 盘点调帐合格品入库
	 */
	public static final int ADJUST_INVENTORY_QUALIFIED_IN_STORE = 9;
	
	/**
	 * 盘点调帐合格品出库
	 */
	public static final int ADJUST_INVENTORY_QUALIFIED_OUT_STORE = 10;
	
	/**
	 * 盘点调帐不合格品入库
	 */
	public static final int ADJUST_INVENTORY_UNQUALIFIED_IN_STORE = 11;
	
	/**
	 * 盘点调帐不合格品出库
	 */
	public static final int ADJUST_INVENTORY_UNQUALIFIED_OUT_STORE = 12;

	private int id;
	
	private int materialsId;
	
	private String voucherNo;
	
	private String batchNo;
	
	private int changeType;

	private float number;
	
	private Date recordDate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getMaterialsId() {
		return materialsId;
	}

	public void setMaterialsId(int materialsId) {
		this.materialsId = materialsId;
	}

	public String getVoucherNo() {
		return voucherNo;
	}

	public void setVoucherNo(String voucherNo) {
		this.voucherNo = voucherNo;
	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public int getChangeType() {
		return changeType;
	}

	public void setChangeType(int changeType) {
		this.changeType = changeType;
	}

	public float getNumber() {
		return number;
	}

	public void setNumber(float number) {
		this.number = number;
	}

	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}

	public Date getRecordDate() {
		return recordDate;
	}
	
}
